#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>

int main()
{
	double c;

	scanf("%lf", &c);
	printf("%f\n%.5f\n%e\n%g", c, c, c, c);
    
	return 0;
}